home *** CD-ROM | disk | FTP | other *** search
/ Game.EXE 2005 July / Game.EXE_07_2005_DVD.iso / Flash / Tilt Maze / tilt.swf / scripts / DefineButton2_23 / BUTTONCONDACTION on(release).as
Encoding:
Text File  |  2005-05-13  |  167 b   |  13 lines

  1. on(release){
  2.    if(_root.playing == 1)
  3.    {
  4.       stopAllSounds();
  5.       playing = 0;
  6.    }
  7.    else
  8.    {
  9.       loop.start(0,999);
  10.       playing = 1;
  11.    }
  12. }
  13.